package org.dormi.learn.product.domain.material;

import com.google.inject.AbstractModule;
import org.dormi.learn.product.domain.material.repo.MaterialRepository;
import org.dormi.learn.product.domain.product.ModuleDependency;
import org.dormi.learn.product.port.persist.material.MockMaterialRepositoryImpl;

/**
 * add description here
 *
 * @author : dormi330
 * @version : 1.0
 */
public class MaterialModule extends AbstractModule {

    @Override
    protected void configure() {
        super.configure();
        bind(MaterialRepository.class).to(MockMaterialRepositoryImpl.class);

        requestStaticInjection(ModuleDependency.class);
    }
}
